package drytools.site.beans;


public class TestBean {
	boolean popupVisible = false;
	
	public boolean isPopupVisible() {
		return popupVisible;
	}
	public void setPopupVisible(boolean popupVisible) {
		this.popupVisible = popupVisible;
	}
	public void open() {
		popupVisible = true;
	}
	public void close() {
		popupVisible = false;
	}
	
	public String getSource() {
		String res = "";
		res += "package drytools.site.beans;\n";


		res += "public class TestBean {\n";
		res += "	boolean popupVisible = false;\n";
			
		res += "	public boolean isPopupVisible() {\n";
		res += "		return popupVisible;\n";
		res += "	}\n";
		res += "	public void setPopupVisible(boolean popupVisible) {\n";
		res += "		this.popupVisible = popupVisible;\n";
		res += "	}\n";
		res += "	public void open() {\n";
		res += "		popupVisible = true;\n";
		res += "	}\n";
		res += "	public void close() {\n";
		res += "		popupVisible = false;\n";
		res += "	}\n";
		res += "}		\n";
		return res;
	}

}
